Skip to content

fix(start): wait for Microcks server readiness before returning#455

Open
Caesarsage wants to merge 1 commit into
microcks:masterfrom
Caesarsage:fix/start-readiness-wait
Open

fix(start): wait for Microcks server readiness before returning#455
Caesarsage wants to merge 1 commit into
microcks:masterfrom
Caesarsage:fix/start-readiness-wait

Conversation

@Caesarsage

Copy link
Copy Markdown
Contributor

Description

microcks start returns as soon as the container process is up: ~20–40s before the Microcks server inside actually serves traffic, so chained microcks import/test calls intermittently fail with connection-refused.

This polls GET /api/keycloak/config until it returns 200 before printing success.

New flags: --ready-timeout (default 60s) and --no-wait for fire-and-forget.

Unit tests cover the ready, retry, and timeout paths.

Related issue(s)

#255

Signed-off-by: caesarsage <destinyerhabor6@gmail.com>
@Caesarsage

Copy link
Copy Markdown
Contributor Author

cc
@Harsh4902 @Vaishnav88sk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant